#if defined(_MSC_VER)
#pragma once
#endif

#ifndef LM_IMAGEIO_H
#define LM_IMAGEIO_H

#include "lm.h"

Spectrum *ReadImage(const string &name, int *xSize, int *ySize);
void WriteImage(const string &name, float *pixels, float *alpha,
	int XRes, int YRes, int totalXRes, int totalYRes, int xOffset,
	int yOffset);

#endif	// LM_IMAGEIO_H